package com.system.demo.service.constant;

public class CognizanceLevelConstant {
    // 奖项级别
    public static final int LEVEL_NATIONAL = 0;  // 国家级
    public static final int LEVEL_PROVINCIAL = 1;  // 省部级
    public static final int LEVEL_SCHOOL = 2;  // 校级

    public static String getFinalRankNameDescription(Integer finalRankName) {
        if(finalRankName == null) return "";
        switch (finalRankName) {
            case LEVEL_NATIONAL:
                return "国家级";
            case LEVEL_PROVINCIAL:
                return "省部级";
            case LEVEL_SCHOOL:
                return "校级";
            default:
                return "未知状态";
        }
    }
}